package tech.xs.auth.domain.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import tech.xs.common.framework.domain.entity.BaseEntity;
import tech.xs.common.sys.domain.enums.SysAccountStatusEnum;

@Getter
@Setter
@ToString
@TableName("sys_user")
public class AuthSysUser extends BaseEntity {

    /**
     * 用户名
     */
    @TableField(insertStrategy = FieldStrategy.NOT_NULL)
    private String userName;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 登陆密码
     */
    private String password;

    /**
     * 账户状态
     */
    private SysAccountStatusEnum accountStatus;


}
